package com.taru.dao;

import com.taru.model.Message;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface MessageMapper {
    int insertMessage(Message message);

    int updateMessageById(Message  message);

    int deleteMessageById(String messageId);

    List<Message>  queryMessageById(@Param("fruitsBatch") String fruitsBatch, @Param("userId")  String userId);

    List<Message> queryMessageByBatch(@Param("userId")  String userId);
}
